package org.dromara.business.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.business.domain.LzshBusinessInfo;
import org.dromara.business.domain.LzshTemplate;
import org.dromara.common.mybatis.core.domain.BaseEntity;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;


/**
 * business信息视图对象 businessinfo
 *
 * @author sxl
 * @date 2024-08-19
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = LzshBusinessInfo.class)
public class LzshBusinessInfoVo extends BaseEntity implements Serializable  {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @ExcelProperty(value = "")
    private Long id;

    /**
     * 模板id
     */
    @ExcelProperty(value = "")
    private Long templateId;

    /**
     * 菜单id
     */
    @ExcelProperty(value = "")
    private Long menuId;
    /**
     * 菜单名
     */
    @ExcelProperty(value = "")
    private String menuName;

    /**
     * 模板对象
     */
    @ExcelProperty(value = "")
    @TableField(typeHandler = JacksonTypeHandler.class)
    private LzshTemplate template;

    /**
     * 用户信息
     */
    @ExcelProperty(value = "")
    @TableField(typeHandler = JacksonTypeHandler.class)
    private List<String> userInfo;

    /**
     * 商业地址
     */
    @ExcelProperty(value = "")
    private String businessAddress;

    /**
     * 经度
     */
    @ExcelProperty(value = "")
    private BigDecimal latitude;

    /**
     * 维度
     */
    @ExcelProperty(value = "")
    private BigDecimal longitude;

    /**
     * 老套餐
     */
    @ExcelProperty(value = "")
    @TableField(typeHandler = JacksonTypeHandler.class)
    private List<List<String>> oldPlans;

    /**
     * 新套餐
     */
    @ExcelProperty(value = "")
    @TableField(typeHandler = JacksonTypeHandler.class)
    private List<List<List<String>>> newPlans;


}
